package com.topisv.tms.service.pickCar;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.pickCar.PickCarStock;
import com.topisv.tms.repository.pickCar.PickCarStockDao;

/**
 * 拣货车位_service
 * @author ch
 * 
 */
@Component
@Transactional(readOnly = true)
public class PickCarStockService {

	@Autowired
	private PickCarStockDao pickCarStockDao;

	/**
	 * 查询库位信息
	 * @param carId 拣货车ID
	 * @return
	 */
	public List<PickCarStock> loadStockByCarId(Long carId) {
		return this.pickCarStockDao.loadStockByCarId(carId);
	}


}